// 通用容器样式
.page-container {
    padding: 24px;

    .operation-bar {
        margin-bottom: 16px;
        display: flex;
        justify-content: flex-end;
    }

    .ant-table-wrapper {
        background: #fff;
        padding: 24px;
        border-radius: 2px;
    }

    .ant-card {
        box-shadow: 0 1px 2px -2px rgba(0, 0, 0, 0.16), 
                    0 3px 6px 0 rgba(0, 0, 0, 0.12), 
                    0 5px 12px 4px rgba(0, 0, 0, 0.09);

        .ant-card-head {
            border-bottom: 2px solid #f0f0f0;
            
            .ant-card-head-title {
                font-size: 18px;
                font-weight: bold;
            }
        }
    }

    .ant-form-item-label {
        font-weight: 500;
    }

    .ant-modal-body {
        max-height: 60vh;
        overflow-y: auto;
    }

    .form-section {
        margin-bottom: 32px;
        padding: 24px;
        background: #fafafa;
        border-radius: 4px;

        h3 {
            margin-bottom: 24px;
            padding-bottom: 12px;
            border-bottom: 1px solid #f0f0f0;
            font-size: 16px;
            font-weight: bold;
            color: #1890ff;
        }

        .ant-form-item-label {
            font-weight: 500;
        }

        .ant-input-number {
            width: 200px;
        }

        .ant-select {
            width: 200px;
        }

        .form-operations {
            width: 100%;
            display: flex;
            justify-content: flex-start;
            gap: 8px;
            margin-top: 16px;

            .ant-btn {
                min-width: 120px;
            }
        }
    }

    .card-extra {
        display: flex;
        gap: 8px;
    }

    // 表格内按钮组样式
    .table-operations {
        .ant-btn {
            margin-right: 8px;
            
            &:last-child {
                margin-right: 0;
            }
        }
    }

    // 表单项样式
    .ant-form {
        .ant-form-item {
            margin-bottom: 24px;

            .ant-input, .ant-select {
                min-width: 200px;
            }

            textarea.ant-input {
                min-height: 100px;
            }
        }
    }

    // 响应式布局
    @media screen and (max-width: 768px) {
        padding: 12px;

        .form-section {
            padding: 16px;
        }

        .ant-form {
            .ant-form-item {
                .ant-input, .ant-select {
                    width: 100%;
                }
            }
        }
    }
} 